//
//  DataContext.h
//  addActionForm
//
//  Created by user on 06.05.11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//



#import <sqlite3.h>
#import <Foundation/Foundation.h>

//#import "ModelFactory.h"
#import "Action.h"
#import "Comment.h"
#import "GDataContext.h"
#import "Risk.h"

@class Action;
@class Comment;
@class GDataContext;

@interface DataContext : GDataContext {
	NSMutableArray *projectCollection;
    @private NSMutableArray *actionCollection;
}

@property (readonly)  NSMutableArray *projectCollection;
@property (readonly)  NSMutableArray *actionCollection;

//- (void) reloadActions;
- (void) insertNewProject : (Project *) project;
- (void) loadProjects;
- (void) unloadProjects;
- (void) executeQuery : (NSString *) query;

@end
